PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.shadings Package / PDFAxialShading Class / setEndColor Method
The shading end color.
In This Topic
    setEndColor Method
    In This Topic
    Sets the shading end color.
    The startColor and endColor can be set only when the shading uses an exponential function ().
    Syntax
    public void setEndColor( 
       PDFColor endColor
    )

    Parameters

    endColor
    The shading end color.
    Exceptions
    ExceptionDescription
    when the end color is nullor shading function is not an exponential function.
    See Also